package com.transcargo.action;

import com.transcargo.errors.ErrorList;

/**
 * Date: 17.04.2011
 * Time: 16:10:54
 */
public class ServletValidationException extends Exception {
    private String errStr = "";
    public ServletValidationException(ErrorList s) {
      this.errStr = s.toString();
    }
    public ServletValidationException(String s) {
        this.errStr = s;
      }
    public String getMessage() {
        return errStr;
    }
}
